


<div id="page-wrapper">

    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <button class="btn btn-primary openRwindow" data-w-target="#addwarning" data-w-title="添加报警"><i class="fa fa-plus"></i> 添加报警</button>
                <button class="btn btn-info alldelete" data-toggle="modal" data-target="#myModal" ><i class="fa fa-trash-o"></i> 批量删除</button>
                <button class="btn btn-success allstart" >开始</button>
                <button class="btn btn-danger allstop" >停止</button>
            </div>
        </div>

        <div class="row settingrow">
            <div class="col-lg-12">

                <div class="table-responsive">
                    <div class="table_page pagestatus"></div>
                    <table class="table table-bordered table-hover table-striped warningtable">
                        <thead>
                        <tr>
                            <th><input class="allcheck"  type="checkbox"></th>
                            <th>状态</th>
                            <th>报警名</th>
                            <th>采集任务</th>
                            <th>报警方式</th>
                            <th>启用/停用</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>











<div class="R_windows" id="addwarning" data-height="600">
    <div class="R_windows_head">

        <div class="R_windows_title">添加报警</div>
        <div class="R_window_close_button"><i class="fa fa-close"></i></div>
    </div>
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="form-group alarm_name">
                    <label><span class="maincolor musthave">*</span>报警名</label>
                    <input class="form-control">
                </div>
                <div class="form-group alarm_rule">
                    <label><span class="maincolor musthave">*</span>关键词</label>
                    <textarea class="form-control"></textarea>
                </div>
                <div class="form-group">
                    <label><span class="maincolor musthave">*</span>匹配任务</label>
                    <div class="task_list">
                    </div>
                </div>
                <div class="form-group">
                    <label><span class="maincolor musthave">*</span>报警方式</label>
                    <label class="checkbox-inline">
                        <input type="checkbox" class="alarm_sound">声音
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" class="alarm_email">邮件
                    </label>
                </div>
                <div class="form-group">
                    <label>立即生效：</label>
                    <span class="R_switch" data-on="on" data-off="off" data-ison="true"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <button class="btn btn-primary warningsetting_ok">确定</button>
                <button class="ml10 btn R_window_cancel_button">取消</button>
            </div>
        </div>
    </div>
</div>
<import file="js/warningsetting-js" />






